//
//  MSConstantDefined.h
//  MinShengBank
//
//  Created by chen wei on 13-7-15.
//  Copyright (c) 2013年 xguanjia. All rights reserved.
//

// 控制台Log输出控制，此确保在release版本下无Log输出
#ifdef DEBUG
#define MSLOG          NSLog
#else
#define MSLOG          //WTLLog
#endif

//是否是iPhone5
#define isIPhone5  ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? \
CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO)

#define isIOS7 ([[UIDevice currentDevice].systemVersion doubleValue] >= 7.0 ? YES : NO)

// 自动调整尺寸控制：full形式
#define  AutoresizingFull   UIViewAutoresizingFlexibleLeftMargin|\
UIViewAutoresizingFlexibleWidth|\
UIViewAutoresizingFlexibleRightMargin|\
UIViewAutoresizingFlexibleTopMargin|\
UIViewAutoresizingFlexibleHeight|\
UIViewAutoresizingFlexibleBottomMargin

#define isMinSheng NO